package com.ecloud.support.generator.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ecloud.support.generator.model.dto.ColumnInfoDto;
import com.ecloud.support.generator.model.entity.ColumnInfoPo;
import com.ecloud.support.generator.model.vo.ColumnInfoVo;

/**
 * ColumnInfoMapper
 *
 * @author LiuGangQiang Create in 2021/04/15
 */
@Mapper
public interface ColumnInfoMapper extends BaseMapper<ColumnInfoPo> {

    /**
     * 分页查询
     *
     * @author LiuGangQiang Create in 2021/05/05
     * @param page 分页对象
     * @param dto  参数对象
     * @return {@link IPage}
     */
    IPage<ColumnInfoVo> selectLimit(Page<?> page, @Param("dto") ColumnInfoDto dto);

}
